<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix='fmt' uri="http://java.sun.com/jsp/jstl/fmt" %>
<% 
response.setHeader("Pragma","No-cache"); 
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0); 
%> 
<c:forEach var="t" items="${pageInfo.list}" varStatus="status">
    <tr>
	  <td><input type="checkbox" name="idCheckbox" value="${t.id}" lay-skin="primary"></td>
	  <td title="${t.filename}"><span class="text-overflow"  style="max-width:200px;">${t.filename}</span></td>
	  <td><img style="height:50px;" alt="" src="${pageContext.request.contextPath}/files/filesShowById?id=${t.id}"></td>
	  <td title="${t.filepath}"><span class="text-overflow"  style="max-width:200px;">${t.filepath}</span></td>
	  <td style="text-align: center;">
		  <div class="layui-btn-group" style="width: 179px;">
		    <button onclick="filesDelete(${t.id},'${t.filename}')" class="layui-btn layui-btn-danger layui-btn-small">删除</button>
		  </div>
  	  </td>
	</tr>
</c:forEach>
<script>
var pageNum = "${pageInfo.pageNum}";
var total = "${pageInfo.total}";
var pages = "${pageInfo.pages}";
</script>
<script src="${pageContext.request.contextPath}/static/js/back/files/filesPageList.js"></script>
